"
I am a command to switch query browser to hierarchically sorted items list.

In this mode items is grouped by defining class and shown in class hierarchy tree sorted by name
"
Class {
	#name : 'ClySwitchToHierarchicalQueryResultCommand',
	#superclass : 'ClySwitchQueryResultCommand',
	#category : 'Calypso-SystemTools-QueryBrowser-Commands-Controlling',
	#package : 'Calypso-SystemTools-QueryBrowser',
	#tag : 'Commands-Controlling'
}

{ #category : 'accessing' }
ClySwitchToHierarchicalQueryResultCommand >> defaultMenuItemName [
	^'Hier.'
]

{ #category : 'execution' }
ClySwitchToHierarchicalQueryResultCommand >> execute [
	browser switchToHierarchicalResult
]

{ #category : 'testing' }
ClySwitchToHierarchicalQueryResultCommand >> isAppliedToBrowser [
	^browser showsFlatResult not
]
